<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false"%>
<%
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort() +request.getContextPath()+"/";
%>
<!DOCTYPE html>
<html>
<head>
	<base href="<%=basePath %>">
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>队伍信息</title>
    <link rel="icon" href="https://i.loli.net/2020/03/14/mifePoZ49v8s1pr.jpg" type="icno/x-icno">
    <style>
        .submitBtn{
            width: 100px;
            height:40px;
            margin-top: 40px;
            border-radius: 15%;
        }
    </style>
</head>
<body>
<center>
    <form action="<%=basePath %>/admin/updateTeamInfo.do" method="post">
        <table width="800px" border="1px" cellspacing="0px" cellpadding="10px">
            <tr>
                <td>队名</td>
                <td>
                    <input type="text" value="${oneTeam.teamName}" name="teamName">
                </td>
            </tr>
            <tr>
                <td>队员1</td>
                <td>
                    <input type="text" value="${oneTeam.competitorName_1}" name="competitorName_1">
                </td>
            </tr>
            <tr>
                <td>队员1_班级</td>
                <td>
                    <input type="text" value="${oneTeam.class_1}" name="class_1">
                </td>
            </tr>
            <tr>
                <td>队员2</td>
                <td>
                    <input type="text" value="${oneTeam.competitorName_2}" name="competitorName_2">
                </td>
            </tr>
            <tr>
                <td>队员2_班级</td>
                <td>
                    <input type="text" value="${oneTeam.class_2}" name="class_2">
                </td>
            </tr>
            <tr>
                <td>队员3</td>
                <td>
                    <input type="text" value="${oneTeam.competitorName_3}" name="competitorName_3">
                </td>
            </tr>
            <tr>
                <td>队员3_班级</td>
                <td>
                    <input type="text" value="${oneTeam.class_3}" name="class_3">
                </td>
            </tr>
            <tr>
                <td>队长电话</td>
                <td>
                    <input type="text" value="${oneTeam.captain_phone}" name="captain_phone">
                </td>
            </tr>
            <tr>
                <td>队伍id</td>
                <td>
                    <input type="text" value="${oneTeam.id}" name="id">
                </td>
            </tr>
        </table>
        <input type="submit" value="点击保存修改" class="submitBtn">
    </form>
</center>
</body>
</html>
